package com.yp.shopping.service;

import com.yp.shopping.bean.Result;
import com.yp.shopping.vo.GoodsV;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface GoodsService {

    List<GoodsV> getAllGoods();

    GoodsV getGoodsById(Integer id);

    Result deleteGoodsById(Integer id);

    Result saveOrUpdateGoods(GoodsV goodsV);
}
